package com.wht.service.music.impl;

import com.wht.mapper.music.AddMusicDao;
import com.wht.mapper.music.impl.AddMusicDaoImpl;
import com.wht.domain.Music;
import com.wht.service.music.AddMusicService;

/**
 * @author wanghaotian
 * time:2022/11/21,0021 21:41
 * description:
 */

public class AddMusicServiceImpl implements AddMusicService {
    private AddMusicDao addMusicDao = new AddMusicDaoImpl();
    @Override
    public int addMusic(Music music) {
        return addMusicDao.insertMusic(music);
    }
}
